home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2000 February / maximum-cd-2000-02.iso / Flash 4 / data1.cab / App_Files / Players / Flash_Player_Java(tm)_Edition / Flash.cab / ImageSource.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-13  |  701 b   |  38 lines

  1. import java.io.ByteArrayInputStream;
  2. import java.io.IOException;
  3. import sun.awt.image.URLImageSource;
  4.  
  5. class ImageSource extends URLImageSource {
  6.    // $FF: renamed from: is java.io.ByteArrayInputStream
  7.    ByteArrayInputStream field_0;
  8.    // $FF: renamed from: ─Ö byte[]
  9.    byte[] field_1;
  10.  
  11.    public ImageSource() {
  12.       super(Flash.─ò.getCodeBase().toString());
  13.    }
  14.  
  15.    // $FF: renamed from: ─Ö (byte[]) void
  16.    void method_0(byte[] var1) {
  17.       this.field_1 = var1;
  18.    }
  19.  
  20.    // $FF: renamed from: ─Ü () void
  21.    void method_1() {
  22.       this.field_0 = new ByteArrayInputStream(this.field_1);
  23.    }
  24.  
  25.    // $FF: renamed from: ─¢ () void
  26.    void method_2() {
  27.       try {
  28.          if (this.field_0 != null) {
  29.             this.field_0.close();
  30.             this.field_0 = null;
  31.             return;
  32.          }
  33.       } catch (IOException var1) {
  34.       }
  35.  
  36.    }
  37. }
  38.